The objective of this project is to create a set of graphs that comply with the principles of good data visualization: namely, the charts should be insightful, but also simple enough for readers to digest the main message of each exhibit.
Main product: A self-contained Shiny app shows how the number “swing states” hinges on what we choose to count as a competitive election (at the state level). Most data journalists and researchers use data for recent elections; the app present will allow you to look at patterns for the last 25 U.S. presidential elections.
Access the set of visualizations via shinyapp.io, or see the animations below.
Product 2: Using sankey plots, display county-level vote changes between 2012 and 2016. The user can choose to focus on a particular state, or to select counties that meet a specific condition.
Third, I represent recent election results, with ggplot.